<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>邀请好友</title>
		<script src="__JS__/mui.min.js"></script>
		<link href="__CSS__/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__CSS__/iconfont.css" />
		<link rel="stylesheet" href="__CSS__/style.css" />
		<link rel="stylesheet" href="__CSS__/mall.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav mem_bar_nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="JavaScript:history.go(-1)"></a>
			<h1 class="mui-title">推广二维码</h1>
		</header>
		<div class="mui-content tgewm_content">
			<div class="liandxq_top" style="background-color: #FFFFFF; margin-bottom: 10px;">{$data.mobile}</div>
			<div class="tgewm_box">
				<div class="tgerweim" style="width: 200px; height: 200px; border: unset">
					<div id="qrcode"></div>
				</div>
				<div class="tgewmtip">扫一扫，推荐会员</div>
				<div class="tgewm_tip">先用微信扫一扫，然后注册</div>
			</div>
			<button type="button" class="fjysq_sbtn" id="xueyuan">安卓APP下载教程</button>
		</div>
		<div id="footer"></div>
	</body>

</html>
<script src="__JS__/jquery.min.js"></script>
<script src="__JS__/index.js"></script>
<script src="__LIB__/layer.js"></script>
<script src="__JS__/jquery.qrcode.js"></script>
<script src="__JS__/utf.js"></script>
<script type="text/javascript">
	$(".fjysq_sbtn").click(function() {
		location.href = "https://zsxndsj.com/index/help/help_show/id/125.html";
	});
</script>
<script>
	var index = layer.load(0, {shade: false,time: 2 * 1000});
	$(".layui-layer-loading").css("left", "50%");
	var url = "https://www.zsxndsj.com/index/index/regist/pid/{$data.id}.html";
	var img = "{$data.thumb}";
	 $("#qrcode").qrcode({
        render 		: "canvas",    		//设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
        text 		: url, //扫描二维码后显示的内容,可以直接填一个网址，扫描二维码后自动跳向该链接
        src			: img,
        width 		: "200",    	//二维码的宽度
        height 		: "195",    	//二维码的高度
        background 	: "#ffffff",    //二维码的后景色
        foreground 	: "#000000",    //二维码的前景色
    });
</script>
